init("0", 0)
local sz = require("sz")
local json = sz.json
local w,h = getScreenSize();
MyTable = {
    ["style"] = "default",
    ["width"] = 4 * w / 5,
    ["height"] = 3 * h / 5,
    ["config"] = "save_009.dat",
    ["timer"] = 20,
    views = {
        {
            ["type"] = "Label",
            ["text"] = "COC哥布林设置",
            ["size"] = 25,
            ["align"] = "center",
            ["color"] = "0,0,255",
        },
        {
            ["type"] = "CheckBoxGroup",
            ["list"] = "智能捐兵,周周,123,收到,seiko,中国",
            ["select"] = "0",
        },
        {
            ["type"] = "CheckBoxGroup",
            ["list"] = "智能捐兵,周周,123,收到,seiko,中国",
            ["select"] = "2@4",
        },
        isArray = true
    }
}
local MyJsonString = json.encode(MyTable);
ret, input1, input2 = showUI(MyJsonString);

dialog(ret .. " [" .. input1 .."] " .. " [" .. input2 .. "]", 2)
init("0", 2)
